package com.windaka.elements.model.dto;


import com.windaka.elements.annotation.DtoCheck;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录DTO
 * @author song
 * @date 16:45 2022/8/17
**/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginDTO {

    /**
     * 用户名
     */
    @DtoCheck(message = "缺少用户名")
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 密码
     */
    @DtoCheck(message = "缺少密码")
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * uuid
     **/
    @ApiModelProperty(value = "uuid")
    private String uuid;

    /**
     * 验证码
     **/
    @ApiModelProperty(value = "验证码")
    private String imageCode;

}
